<div class="sectionHeader">
    <hr>
    <button type="button" onclick="takeout.copy('${ctxPath!}/dbtable/listDialog',1, 'option')" class="btn btn-info mainButtonRight">复制</button>

    <button type="button" onclick="takeout.del('${ctxPath!}/option/del',1, '')" class="btn btn-info mainButtonRight">全部删除</button>
    <button type="button" class="btn btn-info mainButtonRight"><a href="javascript:takeout.openEdit('${ctxPath!}/option/edit', null);" class="mianAcolor">+ 新增</a></button>
</div>
<form id="queryForm" action="${ctxPath!}/option/list" method="POST">
<div class="sectionForm">
    <div class="form-inline">
        <div class="sectionFormFirstRow">
            <!--<div class="form-group sectionFormLabel">
                <label class="mainColor">类型:</label>
                <#dictTag type="select" style="margin-left:5px;" group="question_op" pname="type" defaultNumber="0"></#dictTag>
            </div>
            <div class="form-group sectionFormLabel">-->
                <!--<label class="mainColor">题目ID:</label>-->
                <!--<input type="text" name="questionid" class="form-control" required="" />-->
            <!--</div>-->
            <button type="button" onclick="takeout.ajaxFormMainPanel('queryForm')" class="btn btn-info" style="width:90px;">查询</button>
        </div>
    </div>

</div>
<div class="sectionFormContent">
    <div class="sectionFormHeadline">
    </div>
    <hr>
    <table class="table table-bordered table-hover">
        <thead>
            <tr>
                <th style="width: 50px;" ><a href="javascript:takeout.selectAll();">全选</a></th>
                <th>题目</th>
                <th>排序</th>
                <!--<th>正确答案</th>-->
                <th style="width: 70px;">操作</th>
            </tr>
        </thead>
        <% for(op in data.list){ %>
            <tr class="a">
                <td style="width: 50px;text-align:center"><input class="a" type="checkbox" value="${op.id}" /></td>
                <td>${op.title}</td>
                <td>${op.sort}</td>
                <!--<td>${op.items}</td>
                <td>${op.values}</td>
                <td>${op.right}</td>-->
                <td style="width: 70px;">
                    <a id="a" href="javascript:takeout.openEdit('${ctxPath!}/option/edit?id=${op.id}', null)">修改</a>
                    <a class="a" href="javascript:takeout.del('${ctxPath!}/option/del' ,0, '${op.id}')">删除</a>
                </td>
            </tr>
            <%}%>

    </table>
    <div id="splitPageDiv" class="splitPage">
        <% include("../common/comm_page.html", {"divId" : "manage_content", "formId" : "queryForm", "splitPageDiv" : "splitPageDiv"}){} %>
   </div>
</div>
</form>